.class Lcom/waiqin365/lightapp/syorder/product/a/i;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/waiqin365/lightapp/syorder/view/ak;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/syorder/product/a/l;

.field final synthetic b:Lcom/waiqin365/lightapp/syorder/product/a/a;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/syorder/product/a/a;Lcom/waiqin365/lightapp/syorder/product/a/l;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/syorder/product/a/i;->b:Lcom/waiqin365/lightapp/syorder/product/a/a;

    iput-object p2, p0, Lcom/waiqin365/lightapp/syorder/product/a/i;->a:Lcom/waiqin365/lightapp/syorder/product/a/l;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Ljava/util/List;)V
    .locals 13

    const/4 v12, 0x2

    const/4 v5, 0x1

    const-wide/16 v10, 0x0

    const/4 v4, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/product/a/i;->a:Lcom/waiqin365/lightapp/syorder/product/a/l;

    iget-object v0, v0, Lcom/waiqin365/lightapp/syorder/product/a/l;->k:Landroid/widget/ImageView;

    invoke-virtual {v0}, Landroid/widget/ImageView;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/syorder/d/b;

    if-eqz p1, :cond_3

    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v1

    if-lez v1, :cond_3

    invoke-interface {p1, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/base/c/a;

    iget-object v2, v0, Lcom/waiqin365/lightapp/syorder/d/b;->g:Ljava/lang/String;

    invoke-static {v2}, Lcom/fiberhome/gaea/client/d/k;->i(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_7

    invoke-virtual {v1}, Lcom/waiqin365/base/c/a;->a()Ljava/lang/String;

    move-result-object v2

    iget-object v3, v0, Lcom/waiqin365/lightapp/syorder/d/b;->g:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_7

    move v3, v4

    :goto_0
    move v6, v4

    :goto_1
    iget-object v2, v0, Lcom/waiqin365/lightapp/syorder/d/b;->r:Ljava/util/List;

    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v2

    if-ge v6, v2, :cond_1

    iget-object v2, v0, Lcom/waiqin365/lightapp/syorder/d/b;->r:Ljava/util/List;

    invoke-interface {v2, v6}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/waiqin365/base/c/a;

    iget-object v7, v1, Lcom/waiqin365/base/c/a;->a:Ljava/lang/String;

    iget-object v8, v2, Lcom/waiqin365/base/c/a;->a:Ljava/lang/String;

    invoke-virtual {v7, v8}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v7

    if-eqz v7, :cond_5

    iget-object v6, v1, Lcom/waiqin365/base/c/a;->b:Ljava/lang/String;

    iput-object v6, v0, Lcom/waiqin365/lightapp/syorder/d/b;->J:Ljava/lang/String;

    iget-object v6, v1, Lcom/waiqin365/base/c/a;->a:Ljava/lang/String;

    iput-object v6, v0, Lcom/waiqin365/lightapp/syorder/d/b;->g:Ljava/lang/String;

    if-eqz v3, :cond_0

    iget-object v6, v2, Lcom/waiqin365/base/c/a;->b:Ljava/lang/String;

    invoke-static {v6, v10, v11}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;D)D

    move-result-wide v6

    iput-wide v6, v0, Lcom/waiqin365/lightapp/syorder/d/b;->D:D

    iget-object v2, v2, Lcom/waiqin365/base/c/a;->b:Ljava/lang/String;

    invoke-static {v2, v10, v11}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;D)D

    move-result-wide v6

    iput-wide v6, v0, Lcom/waiqin365/lightapp/syorder/d/b;->i:D

    const-string/jumbo v2, ""

    iput-object v2, v0, Lcom/waiqin365/lightapp/syorder/d/b;->o:Ljava/lang/String;

    :cond_0
    iget-object v2, p0, Lcom/waiqin365/lightapp/syorder/product/a/i;->a:Lcom/waiqin365/lightapp/syorder/product/a/l;

    iget-object v6, v2, Lcom/waiqin365/lightapp/syorder/product/a/l;->m:Lcom/waiqin365/lightapp/view/EditTextHasClear;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    iget-wide v8, v0, Lcom/waiqin365/lightapp/syorder/d/b;->i:D

    invoke-virtual {v2, v8, v9}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v7, ""

    invoke-virtual {v2, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v7

    iget-object v2, p0, Lcom/waiqin365/lightapp/syorder/product/a/i;->a:Lcom/waiqin365/lightapp/syorder/product/a/l;

    iget-object v2, v2, Lcom/waiqin365/lightapp/syorder/product/a/l;->m:Lcom/waiqin365/lightapp/view/EditTextHasClear;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/view/EditTextHasClear;->isEnabled()Z

    move-result v2

    if-nez v2, :cond_4

    move v2, v5

    :goto_2
    invoke-static {v7, v12, v2}, Lcom/waiqin365/lightapp/product/e/b;->b(Ljava/lang/String;IZ)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v6, v2}, Lcom/waiqin365/lightapp/view/EditTextHasClear;->setText(Ljava/lang/CharSequence;)V

    :cond_1
    :goto_3
    iget-object v2, v0, Lcom/waiqin365/lightapp/syorder/d/b;->s:Ljava/util/List;

    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v2

    if-ge v4, v2, :cond_2

    iget-object v2, v0, Lcom/waiqin365/lightapp/syorder/d/b;->s:Ljava/util/List;

    invoke-interface {v2, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/waiqin365/base/c/a;

    iget-object v6, v1, Lcom/waiqin365/base/c/a;->a:Ljava/lang/String;

    iget-object v7, v2, Lcom/waiqin365/base/c/a;->a:Ljava/lang/String;

    invoke-virtual {v6, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v6

    if-eqz v6, :cond_6

    iget-object v1, v2, Lcom/waiqin365/base/c/a;->b:Ljava/lang/String;

    invoke-static {v1, v10, v11}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;D)D

    move-result-wide v6

    iput-wide v6, v0, Lcom/waiqin365/lightapp/syorder/d/b;->h:D

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/product/a/i;->a:Lcom/waiqin365/lightapp/syorder/product/a/l;

    iget-object v1, v1, Lcom/waiqin365/lightapp/syorder/product/a/l;->b:Landroid/widget/TextView;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v4, "\u539f\u4ef7\uff1a\u00a5"

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    iget-wide v6, v0, Lcom/waiqin365/lightapp/syorder/d/b;->h:D

    invoke-virtual {v4, v6, v7}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string/jumbo v6, ""

    invoke-virtual {v4, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-static {v4, v12, v5}, Lcom/waiqin365/lightapp/product/e/b;->a(Ljava/lang/String;IZ)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v4, "/"

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget-object v4, v0, Lcom/waiqin365/lightapp/syorder/d/b;->J:Ljava/lang/String;

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_2
    if-eqz v3, :cond_3

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/product/a/i;->a:Lcom/waiqin365/lightapp/syorder/product/a/l;

    iget-object v1, v1, Lcom/waiqin365/lightapp/syorder/product/a/l;->n:Landroid/widget/EditText;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    iget-wide v4, v0, Lcom/waiqin365/lightapp/syorder/d/b;->j:D

    invoke-virtual {v2, v4, v5}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v2, ""

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    :cond_3
    return-void

    :cond_4
    move v2, v4

    goto/16 :goto_2

    :cond_5
    add-int/lit8 v2, v6, 0x1

    move v6, v2

    goto/16 :goto_1

    :cond_6
    add-int/lit8 v4, v4, 0x1

    goto/16 :goto_3

    :cond_7
    move v3, v5

    goto/16 :goto_0
.end method
